package pers.brozen.anka.dao.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;
import pers.brozen.anka.apis.enums.SessionType;

import java.time.Instant;

/**
 * @author Brozen
 * @since 2024-05-28
 */
@Data
@Entity
public class AnkaSession {

    @Id
    private String sessionId;

    /**
     * @see SessionType
     */
    private String sessionType;

    private String userId;

    private Instant expiryAt;

}
